﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Membership.master" AutoEventWireup="true" CodeFile="locked_users.aspx.cs" Inherits="Admin_MembershipProvider_Access_locked_users" Title="Locked out User" %>
<%@ Register src="~/Admin/MembershipProvider/Access/Controls/UserNav.ascx" TagName="UserNav" TagPrefix="uc" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <br />

     <uc:UserNav ID="ucUserNav" runat="server" />
     <br /> <br />
  
   <telerik:RadGrid runat="server" Width="950px"  ID="Users1" AutoGenerateColumns="false"
        OnNeedDataSource="Users1_NeedDataSource" OnDeleteCommand="Users1_DeleteCommand" >
        <MasterTableView DataKeyNames="UserName">
           <AlternatingItemStyle CssClass="RadGridAltr" />
            <Columns>
                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn">
                </telerik:GridEditCommandColumn>      
                <telerik:GridBoundColumn DataField="UserName" HeaderText="User Name">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="email" HeaderText="Email" />
                <telerik:GridBoundColumn DataField="comment" HeaderText="Comments" />
                <telerik:GridDateTimeColumn DataField="creationdate" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Creation Date">
                </telerik:GridDateTimeColumn>
                <telerik:GridDateTimeColumn DataField="lastlogindate" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Last Login Date" ></telerik:GridDateTimeColumn>
                <telerik:GridDateTimeColumn DataField="lastactivitydate" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Last Activity Date" ></telerik:GridDateTimeColumn>
                <telerik:GridBoundColumn DataField="isapproved" HeaderText="IsActive"  />
                <telerik:GridBoundColumn DataField="isonline" HeaderText="IsOnline" />
                <telerik:GridBoundColumn DataField="islockedout" HeaderText="IsLockedOut" />
                <telerik:GridButtonColumn UniqueName="DeleteColumn" Text="Delete" CommandName="Delete" />
            </Columns>
            <EditFormSettings UserControlName="Controls/EditUser.ascx" EditFormType="WebUserControl">
                <EditColumn UniqueName="EditCommandColumn1">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        
    </telerik:RadGrid>
</asp:Content>

